package cn.zqh.auth.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqh
 * @since 2022-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Router")
@ApiModel(value="Router对象", description="")
public class Router implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "路由主键")
    @TableId(value = "Router_id", type = IdType.AUTO)
    private Integer routerId;

    @ApiModelProperty(value = "路由名字")
    @TableField("Router_name")
    private String routerName;

    @ApiModelProperty(value = "路由描述")
    @TableField("Router_desc")
    private String routerDesc;

    @ApiModelProperty(value = "路由所需权限")
    @TableField("Router_permission")
    private String routerPermission;

    @ApiModelProperty(value = "创建时间")
    @TableField("Create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("Update_time")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("Is_delete")
    private Integer isDelete;


}
